package com.openx.xoj.judge.strategy;

import com.openx.xoj.model.dto.question.JudgeCase;
import com.openx.xoj.judge.codesandbok.mode.JudgeInfo;
import com.openx.xoj.model.entity.Question;
import com.openx.xoj.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * 上下文(用于定义在策略中传递的参数)
 */
@Data
public class JudgeContext {

    private JudgeInfo judgeInfo;

    private List<String> inputList;//沙箱执行结果输入

    private List<String> outputList;//沙箱执行结果输出

    private List<JudgeCase> judgeCaseList;//测试用例

    private Question question;

    private QuestionSubmit questionSubmit;
}
